package com.mdd.common.mapper.article;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface DirectInsertMapper {
    @Insert("INSERT INTO contact_submissions (name, phone, email,message) VALUES (#{name}, #{phone}, #{email},#{message})")
    int insertData(Map<String, Object> params);
}
